-- GENERATED SPELL FOR [Galak Outrunner] --


function spell0_2968(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_2968', 592, 1)
end

function Sorts_2968(pUnit, Event)
local choix_sorts_2968 = math.random(0, 0)
if choix_sorts_2968 == 0 then
pUnit:RegisterEvent('spell0_2968', 1, 1)
end
end

function mob2968_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2968', math.random(1500, 3000), 1)
end

function mob2968_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2968_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2968_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2968, 1, 'mob2968_Action')
RegisterUnitEvent(2968, 2, 'mob2968_Leave')
RegisterUnitEvent(2968, 3, 'mob2968_Kill')
RegisterUnitEvent(2968, 4, 'mob2968_Die')
